
<template>
  <view>
		<web-view :src="path"></web-view>

  </view>
</template>
 
<script>
import config from '@/config'
const app = getApp()
export default {
  data() {
    return {
			path: ''
    }
  },
  computed: {
    
  },
  onLoad(options) { 
		switch (options.type) {
			//用户协议
			case '1':
				this.path = config.evalutionUrl + '/user-agreement'
				break;
			// 隐私政策
			case '2':
				this.path = config.evalutionUrl + '/privacy-policy'
				break;
		}
  },

  methods: {

  }
}
</script>
 
<style scoped>
</style>